package com.bai.edu.client;

import com.bai.utils.R;
import com.bai.utils.orderVo.UcenterMemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

import javax.servlet.http.HttpServletRequest;

@FeignClient(name = "service-ucenter")
@Component
public interface UcenterClient {
    @PostMapping("/ucenter/member/getById/{memberId}")
    public UcenterMemberOrder getById(@PathVariable("memberId") String memberId);
}
